/*
 * @Author: wwssaabb
 * @Date: 2021-07-09 08:52:17
 * @LastEditTime: 2021-07-09 08:54:11
 * @FilePath: \demo\blog_demo\public\admin\js\common.js
 */
function serializeToJson(arr){
  let res={}
  arr.forEach(i=>{
    res[i.name]=i.value
  })
  return res
}